
/**
 * 消息接受实体
 */
export type chatEntity = {
  userId:String,
  contents: contentsReq[],
  businessFlag: String
}
/**
* 具体内容
*/
export type contentsReq = {
  content: String,
  contentType: String
}
/**
* 查询聊天记录的实体类
*/
export type MessageItem = {
  roleType: "USER"  | "AI",
  contents: MsgDetial[],
  time: String
}
/**
* 聊天记录详情
*/
export type MsgDetial = {
  content: String,
  contentType: "text" | "file"
}
/**
 * 文件实体类
 */
export type FileEntity = {
  fileName: String,
  fileUrl: String
}